ElasticPress\Indexable\Post\Post D

Total Complexity 320
Dependencies 17
Dependents 1
Total lines 2,991
Lines of code 1,487
Logical lines of code 718
Comment lines 1,127
Methods 67
Properties 2

Methods 67

Method Rating Maintainability Complexity Lines of code
parse_tax_query()
B
36 17 87
prepare_document()
A
36 13 80
parse_orderby_meta_fields()
A
41 14 56
maybe_set_search_fields()
A
44 11 44
parse_meta_queries()
A
48 11 33
get_indexable_post_taxonomies()
A
53 10 21
parse_post_status()
A
46 8 42
parse_tax_queries()
A
52 9 24
get_distinct_meta_field_keys_db_per_post_type()
A
46 8 39
get_total_objects_for_query_from_db()
A
52 9 22
query_db()
A
43 7 51
filter_allowed_metas_manual()
A
47 8 35
filter_allowed_metas_auto()
A
54 9 19
maybe_orderby()
A
48 8 33
get_distinct_meta_field_keys_db()
A
45 7 42
prepare_terms()
A
52 8 25
parse_orderby()
A
47 7 39
maybe_add_sticky_posts()
S
49 7 30
parse_post_mime_type()
S
51 7 29
adjust_query_fuzziness()
S
56 7 17
parse_author()
S
49 5 39
bulk_indexing_filter_posts_where()
S
52 6 22
determine_mapping_version_based_on_existing()
S
55 6 20
apply_aggregations()
S
59 6 13
parse_post_parent()
S
58 5 15
maybe_set_aggs()
S
58 5 15
get_all_allowed_metas_manual()
S
50 4 28
parse_from()
S
60 5 13
get_total_objects_for_query()
S
53 4 24
prepare_thumbnail()
S
53 4 23
maybe_set_fields()
S
55 4 22
determine_mapping_version()
S
55 4 20
parse_post_type()
S
56 4 20
get_term_order()
S
55 4 20
prepare_meta()
S
59 4 14
parse_date()
S
61 4 13
get_lazy_post_type_ids()
S
51 3 27
sanitize_wp_query_args()
S
53 3 26
parse_order()
S
64 4 10
get_parent_terms()
S
63 4 10
filter_allowed_metas()
S
62 4 10
parse_filters()
S
50 2 29
get_mapping_name()
S
61 3 12
prepare_date_terms()
S
52 2 23
format_args()
S
56 2 19
parse_size()
S
63 3 10
parse_post_name__in()
S
61 2 14
parse_category__not_in()
S
61 2 14
parse_tag__not_in()
S
61 2 14
get_meta_keys_from_post_ids()
S
59 2 14
parse_post__in()
S
61 2 14
parse_post_parent__not_in()
S
61 2 14
parse_post_parent__in()
S
61 2 14
add_term_suggest_field()
S
59 2 14
parse_post__not_in()
S
61 2 14
get_predicted_indexable_meta_keys()
S
57 1 17
get_orderby_array()
S
71 2 6
get_formatted_term()
S
59 1 14
get_indexable_meta_keys_per_post_type()
S
60 1 12
get_indexable_post_status()
S
79 1 3
get_indexable_post_types()
S
71 1 5
parse_tax_query_field()
S
67 1 8
generate_mapping()
S
68 1 7
get_test_meta_value()
S
79 1 3
is_meta_allowed()
S
68 1 7
get_search_algorithm()
S
68 1 6
__construct()
S
66 1 8